package com.nba.dao;

import com.nba.bean.Admin;

public interface AdminDao {
	
	/**通过用户名 密码查询
	 * @param adminName
	 * @param password
	 * @return
	 */
	Admin selectAdmin(String adminName,String password);
	
	/**通过用户名查
	 * @param adminName
	 * @return
	 */
	Admin selectAdmin(String adminName);

	/**添加Admin
	 * @param adminName
	 * @param password
	 * @return
	 */
	int	insertAdmin(String adminName,String password);
}
